package com.campus.merchant.bean.merchant;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商家信息更新Bean
 */
@Data
@ApiModel("商家信息更新参数")
public class MerchantUpdateBean {
    @ApiModelProperty(value = "商家ID", required = true)
    private Integer id;
    
    @ApiModelProperty(value = "商家名称")
    private String name;
    
    @ApiModelProperty(value = "联系电话")
    private String phone;
    
    @ApiModelProperty(value = "商家地址")
    private String address;
    
    @ApiModelProperty(value = "商家logo")
    private String logo;
    
    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;
    
    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;
    
    @ApiModelProperty(value = "所属食堂ID")
    private Integer canteenId;

    @ApiModelProperty(value = "备餐时长（分钟）")
    private Integer baseTime;

    @ApiModelProperty(value = "起送价")
    private BigDecimal minPrice;

    @ApiModelProperty(value = "配送费")
    private BigDecimal deliveryFee;

    @ApiModelProperty(value = "营业执照图片")
    private String licenseImage;

    @ApiModelProperty(value = "店内照片")
    private String shopImage;

    @ApiModelProperty(value = "商户描述")
    private String description;

    @ApiModelProperty(value = "是否支持外卖配送：1-支持，0-不支持")
    private Integer supportDelivery;

    @ApiModelProperty(value = "是否支持堂食：1-支持，0-不支持")
    private Integer supportDineIn;

    @ApiModelProperty(value = "是否支持自取：1-支持，0-不支持")
    private Integer supportTakeout;

    @ApiModelProperty(value = "商户分类ID列表")
    private List<Integer> categoryIds;
}